package Chuong06;
class A1 extends Thread {
	public void run()      {
		for(int i=1;i<=50;i++) {
			System.out.println("\t From ThreadA: i= "+i);
		}
		System.out.println("Exit from A");
	}
}
class B1 extends Thread {
	public void run() {
		for(int j=1;j<=50;j++) {
			System.out.println("\t From ThreadB: j= "+j);
		}
		System.out.println("Exit from B");
	}
}
class C1 extends Thread {
	public void run() {
		for(int k=1;k<=50;k++)  {
			System.out.println("\t From ThreadC: k= "+k);
		}
		System.out.println("Exit from C");
	}
}

